import request from '@/utils/request';

export async function reqTyQuestionTermList(data: any, options?: any): Promise<any> {
	return request('/api/sys/questionTerm/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyQuestionTerm(data: any, options?: any): Promise<any> {
	return request('/api/sys/questionTerm/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyQuestionTerm(data: any, options?: any): Promise<any> {
	return request('/api/sys/questionTerm/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyQuestionTerm(data: any, options?: any): Promise<any> {
	return request('/api/sys/questionTerm/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


